<&include file="include/header.tpl" title=$title username=$user_firstname web_site=$web_site&>

<!--page_text-->
	<div id="main">
    	<&include file="include/account_header.tpl" cur_tab="account"&>
		<div id="my-account">
        	<div class="left-box">            	
            	<ul>
            		<li><a href="<&$web_site&>/user/account" >Account Settings</a></li>
                	<li><a href="<&$web_site&>/user/basic" >Basic Profile</a></li>              	            	
                    <li><a href="<&$web_site&>/user/clientprofile" class="now">Client Training Profile</a></li>
                	<!--<li><a href="<&$web_site&>/user/transaction">Transactions History</a></li>-->
            	</ul>
            </div>
            <div class="right-box">
            	<div class="form-box">
                    <form  method="POST">
            		<div class="form-text-box"><span>*</span><b class="w-auto">What are you general goals?</b></div>
                    <table cellpadding="0" cellspacing="0" border="0" class="group" id="gen_goal_table">
                        <tr>
                        <&foreach item=gen_goal from=$gen_goal_list name=gen_goal_list&>
                        <&if $smarty.foreach.gen_goal_list.iteration % 3 eq 1 && $smarty.foreach.gen_goal_list.iteration >= 3&>
                            </tr>
                            <tr>
                        <&/if&>
                        
                        <td><label id="<&$gen_goal.id&>"class="check-box <&if $gen_goal.selected&>check-true<&else&>check-false<&/if&>"><span title="<&$gen_goal.goal_name&>"><&$gen_goal.goal_name&></span></label></td>
                      
                        <&/foreach&>
                        </tr>
                    </table>	
                	<div class="form-text-box"><span>*</span><b  class="w-auto">Training activities you are interested, sports you play</b></div>
                    <div class="goal">
                    	<input type="text" class="text-box215" id="interested_activity"/><a href="#nogo" id="activity_add">Add</a><p>Maximum 15 specialities tags: multiple keywords/ tags must be seperated by comma, e,g. weight loss, Yoga, Or enter one tags at a time</p>
                        <div class="lists" id="interested_activities">
                            <&foreach item=activity from=$activity_list name=activity_list&>
                                <span><&$activity.name&><i></i></span>
                            <&/foreach&>                                       
                        </div>
                    </div>
                    <input type="hidden" name="age_id" id="age_id" value="<&$user.age_id&>" />
                    <input type="hidden" name="body_id" id="body_id" value="<&$user.body_id&>" />
                    
                    
                    <div class="form-text-box" style="z-index:10" id="age_block"><span>*</span><b  class="w-auto">My age</b><div class="sel"><input type="text"  value="<&$objConfigModel->getAge($user.age_id)&>" id="age_name" class="text-box215" readonly="readonly" style="cursor:default"/><a href="#" class="next-sel" id="age_list_ctrl"></a><ul class="text-box215 sel-lists-box" style="display:none" id="age_list"><&foreach item=age from=$age_list name=age_list&><li id="<&$age.id&>"><&$age.age_name&></li><&/foreach&></ul></div></div>
                    <div class="form-text-box" style="z-index:5" id="body_block"><span>*</span><b  class="w-auto">Body type now</b><div class="sel"><input type="text"  value="<&$objConfigModel->getBody($user.body_id)&>" class="text-box215" readonly="readonly" style="cursor:default" id="body_name"/><a href="#" class="next-sel" id="body_list_ctrl"></a><ul class="text-box215 sel-lists-box" style="display:none" id="body_list"><&foreach item=body from=$body_list name=body_list&><li id="<&$body.id&>"><&$body.body_name&></li><&/foreach&></ul></div></div>
                     <div class="form-submit-box">
                    	<a href="<&$web_site&>/user/detail/uid/<&$user.id&>">View profile</a>
            			<input name="" type="button" value="Save" class="submit-this-form" id="client_profile"/>
            		</div>
                    </form>
                </div>
            </div>
        </div>

    </div>
<!--page_text_over-->
<&include file="include/footer.tpl"&>